﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class menu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void userLink_Click(object sender, EventArgs e)
    {
       // ((Label)this.Parent.Parent.FindControl("lblsb")).Text = "用户搜索";
        Response.Redirect("user.aspx");
    }
    protected void nvrLink_Click(object sender, EventArgs e)
    {
      //  ((Label)this.Parent.Parent.FindControl("lblsb")).Text = "设备搜索";
        Response.Redirect("main.aspx");
    }
    protected void userSearch_Click(object sender, EventArgs e)
    {
      //  ((Label)this.Parent.Parent.FindControl("lblsb")).Text = "用户搜索";
        Response.Redirect("user.aspx");
    }
    protected void nvrSearch_Click(object sender, EventArgs e)
    {
      //  ((Label)this.Parent.Parent.FindControl("lblsb")).Text = "设备搜索";
        Response.Redirect("main.aspx");
    }
}
